readFully

open fun readFully(): @NonNull Array<Byte>(source)

A convenience for openRead that also reads all of the file contents into a byte array which is returned.